package Threelayer.DAO;

import Threelayer.Entity.Person;

import java.util.List;

/**
 * @author lishunlin110
 * @version 1.0
 * @description: dao接口
 * @date 2021/8/23 12:45
 */
public interface PersonDao {
    int insert(Person person);
    int delete(int id);
    int update(Person person);
    Person query(String name);
    List<Person> queryAll();
}
